import dao.UserDAO
import slick.table.Tables.TestUserRow

object Main extends App {

  //    slick.codegen.SourceCodeGenerator.main(
  //      Array(
  //        "slick.jdbc.MySQLProfile",
  //        "com.mysql.cj.jdbc.Driver",
  //        "jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=false",
  //        "./src/main/scala/",
  //        "slick.table",
  //        "root", "123456"
  //      )
  //    )



  val dao = new UserDAO

  for (i <- 1 to 500) {
    dao.insert(TestUserRow("id_" + i))
  }

}
